package test01;

public class demo02 {
    public static void main(String[] args) {
        int day=2;
        for(int i=0;i<1000;i++){
            day+=1;
            if(day%8==0){
                day=1;
            }
        }
        System.out.println("1000天以后是星期:"+day);
    }
}
